using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN MenuRoleEntityBase****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:23/09/2010 33:09:56</para>
	/// <para>Class Name: MenuRoleEntityBase</para>
	/// <para>Description: ClassMenuRoleEntityBase store data of table MenuRole</para>
	///</summary>

	[DataContract]
	public  class MenuRoleEntityBase{


		private bool _InternalChangedIsNullMenuRole_ID=true;
		private bool _IsNullMenuRole_ID=true;
		private bool _InternalChangedIsNullMenu_ID=true;
		private bool _IsNullMenu_ID=true;
		private bool _InternalChangedIsNullRole_ID=true;
		private bool _IsNullRole_ID=true;
		private int _MenuRole_ID;
		private int _Menu_ID;
		private int _Role_ID;
		[DataMember]
		public bool IsNullMenuRole_ID{
			get{return _IsNullMenuRole_ID;}
			set{if(!_InternalChangedIsNullMenuRole_ID)_IsNullMenuRole_ID=value;}
		}
		[DataMember]
		public bool IsNullMenu_ID{
			get{return _IsNullMenu_ID;}
			set{if(!_InternalChangedIsNullMenu_ID)_IsNullMenu_ID=value;}
		}
		[DataMember]
		public bool IsNullRole_ID{
			get{return _IsNullRole_ID;}
			set{if(!_InternalChangedIsNullRole_ID)_IsNullRole_ID=value;}
		}
		[DataMember]
		public int MenuRole_ID{
			get{return _MenuRole_ID;}
			set{
				_MenuRole_ID=value;
				if(_MenuRole_ID!=null){
					_IsNullMenuRole_ID=false;
					_InternalChangedIsNullMenuRole_ID=true;
				}
			}
		}
		[DataMember]
		public int Menu_ID{
			get{return _Menu_ID;}
			set{
				_Menu_ID=value;
				if(_Menu_ID!=null){
					_IsNullMenu_ID=false;
					_InternalChangedIsNullMenu_ID=true;
				}
			}
		}
		[DataMember]
		public int Role_ID{
			get{return _Role_ID;}
			set{
				_Role_ID=value;
				if(_Role_ID!=null){
					_IsNullRole_ID=false;
					_InternalChangedIsNullRole_ID=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END MenuRoleEntityBase*****************************************/
	/*****************************************************************************************************/
}

